package com.lijiajian.dao;

import com.lijiajian.base.BaseMapper;
import com.lijiajian.pojo.Customer;
import com.lijiajian.query.CustomerQuery;

import java.util.List;
import java.util.Map;

public interface CustomerMapper extends BaseMapper<Customer,Integer> {
    Customer queryCustomerByName(String name);

    List<Customer> queryLossCustomer();

    int updateCustomerStateByIds(List<Integer> lossCustomerIds);

    List<Map<String,Object>> queryCustomerContributionByParams(CustomerQuery customerQuery);

    List<Map<String,Object>> countCustomerMake();
}